package com.slz3.business.module.messageManagement.mesLog.service;

import com.slz3.business.module.messageManagement.mesLog.domain.MesLog;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface MesLogService {

    MesLog save(MesLog mesLog);

    Page<MesLog> page(MultiValueMap<String, String> queryParams);

    MesLog modify(MesLog mesLog);

    Optional<MesLog> single(UUID uuid);

    List<MesLog> findAllByUuids(Iterable<UUID> uuids);

    List<MesLog> delete(List<MesLog> mesLogList);

}
